<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title> MedRi Baza Podataka </title>
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body>

<?php
session_start();
include 'defines.php';

autentifikacija();
?>


<center>

<table border="0" width="1000px">

<tr> 
	<td > 
		<?php include 'izbornik.php'; ?>
	</td> 
</tr>

<tr> <td > <hr> </td> </tr>

<tr>
	<td valign="top"> 
	<?php 
		if (isset($_GET['action'])) {
			if (strcmp($_GET['action'], "pretraga") == 0) {
				include 'stanice/pretraga.php';
			}
			else if (strcmp($_GET['action'], "info") == 0) {
				include 'stanice/info.php';
			}
			else if (strcmp($_GET['action'], "new") == 0) {
				include 'stanice/edit.php';
			}
			else if (strcmp($_GET['action'], "edit") == 0) {
				include 'stanice/edit.php';
			}
			else if (strcmp($_GET['action'], "atributi") == 0) {
				include 'stanice/atributi.php';
			}
			else include 'stanice/pretraga.php';
		}
		else {
			include 'stanice/pretraga.php';
		}
	
	?>
	</td>
</tr>

<tr> <td> <hr> </td> </tr>
<tr>
	<td> </td>
</tr>

</table>
</center>

</body>
</html>